<!DOCTYPE html>
<html>
<head>
	<title>学生表</title>
	<meta charset="utf-8">
</head>
<body>
	<table border="1" cellspacing="0">
		<tr>
			<th>ID</th>
			<th>标题</th>
			<th>简介</th>
			<th>内容</th>
			<th>时间</th>
			<th>操作</th>
		</tr>
		<?php while($row = mysql_fetch_assoc($news_list)): ?>
			<tr>
				<td><?php echo $row['id']; ?></td>
				<td><?php echo $row['title']; ?></td>
				<td><?php echo $row['intro']; ?></td>
				<td><?php echo $row['content']; ?></td>
				<td><?php echo $row['post_date']; ?></td>
				<td><a href="index.php?p=Test&c=news&a=remove&news_id=<?php echo $row['id']; ?>">删除</a></td>
		
			</tr>
		<?php endWhile;?>
		<div><a href="index.php?p=Test&c=tea&a=list">查看新闻</a></div>
	</table>
</body>
</html>